﻿<input id="name" value="{{- name }}" />
<input id="filename" value="{{- filename }}" />
<input id="caption" value="{{ caption }}" />
<input id="created" class="datepicker" value="{{- (created.match(/\/Date\(-?\d+\)\//))?moment(parseInt(created.match(/-?\d+/))).format("YYYY-MM-DD"):created }}" />
<input id="cost" value="{{- (typeof cost === 'number')?accounting.formatNumber(cost, 2, ".", ","):cost }}" />
<footer>
  <button id="save">Save</button>
  <a id="cancel" href="#" title="Cancel">Cancel</a>
  <a id="delete" href="#" title="Delete">Delete</a>
</footer>